<template>
  <ul>
      <li v-for="(item,index) in list" :key="index">
         <span>{{item}}</span>
         <slot name="btn" :i="index" :row="item"></slot>
      </li>
  </ul>
</template>

<script>
export default {
    data() {
      return {};
    },
    props:{
      list: Array
    }
};
</script>

<style lang='scss'>

</style>
